import { defineStore } from "pinia";
export const useGridStore = defineStore("grid", {
  state: () => ({
    gridConfig: {
      columnNum: 1,
    },
  }),
  getters: {
    getGridConfig: (state) => state.gridConfig,
  },
  actions: {
    setGridConfig(config: any) {
      this.gridConfig = config;
    },
  },
});
